package cn.exrick.mapper;

import cn.exrick.pojo.TbQuestionCat;
import cn.exrick.pojo.TbQuestionCatExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbQuestionCatMapper {

    int countByExample(TbQuestionCatExample example);

    int deleteByExample(TbQuestionCatExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbQuestionCat record);

    int insertSelective(TbQuestionCat record);

    List<TbQuestionCat> selectByExample(TbQuestionCatExample example);

    TbQuestionCat selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbQuestionCat record, @Param("example") TbQuestionCatExample example);

    int updateByExample(@Param("record") TbQuestionCat record, @Param("example") TbQuestionCatExample example);

    int updateByPrimaryKeySelective(TbQuestionCat record);

    int updateByPrimaryKey(TbQuestionCat record);

    int selectUsedCount(@Param("id") Long id);

}